package jmine.tec.services.test.services.validar;

import static jmine.tec.services.test.services.validar.PositionalTestService.DEFAULT_PARAM_PREFIX;
import jmine.tec.services.runner.BaseServiceBuilder;

/**
 * @author seiti
 * Jun 29, 2012
 */
public class PositionalTestServiceBuilder extends BaseServiceBuilder {

    private PositionalTestServiceBuilder() {
        super(PositionalTestService.class);
    }
    
    public static PositionalTestServiceBuilder aPositionalTestService() {
        PositionalTestServiceBuilder builder = new PositionalTestServiceBuilder();
        return builder;
    }
    
    public PositionalTestServiceBuilder withParam(String key, Object value) {
        this.with(PositionalTestService.adjustToServiceField(DEFAULT_PARAM_PREFIX, key), value);
        return this;
    }
}
